[INFO] fetching crate dqn_variable_ratio_test 0.1.0...
[INFO] checking dqn_variable_ratio_test-0.1.0 against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] extracting crate dqn_variable_ratio_test 0.1.0 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate dqn_variable_ratio_test 0.1.0 on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate dqn_variable_ratio_test 0.1.0
[INFO] finished tweaking crates.io crate dqn_variable_ratio_test 0.1.0
[INFO] tweaked toml for crates.io crate dqn_variable_ratio_test 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0c548125d8be3a29a00e5eece7a18af6096a992fb06d7457c524c5af2dec0ad3
[INFO] running `Command { std: "docker" "start" "-a" "0c548125d8be3a29a00e5eece7a18af6096a992fb06d7457c524c5af2dec0ad3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0c548125d8be3a29a00e5eece7a18af6096a992fb06d7457c524c5af2dec0ad3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c548125d8be3a29a00e5eece7a18af6096a992fb06d7457c524c5af2dec0ad3", kill_on_drop: false }`
[INFO] [stdout] 0c548125d8be3a29a00e5eece7a18af6096a992fb06d7457c524c5af2dec0ad3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2e29941467cf93aede845b9fb2c5b8b2ad8a607181c227daa0848a97676287bc
[INFO] running `Command { std: "docker" "start" "-a" "2e29941467cf93aede845b9fb2c5b8b2ad8a607181c227daa0848a97676287bc", kill_on_drop: false }`
[INFO] [stderr]     Checking getrandom v0.2.9
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking dqn_variable_ratio_test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::neuron`
[INFO] [stdout]  --> src/dqn.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     use crate::neuron;
[INFO] [stdout]   |         ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `current_index` is never read
[INFO] [stdout]    --> src/dqn.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let mut current_index = 1;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `HyperTan`, `Sigmoidal`, `Step`, `Linear`, and `Relu` are never constructed
[INFO] [stdout]   --> src/neuron.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 5  | pub enum ActivationFunction {
[INFO] [stdout]    |          ------------------ variants in this enum
[INFO] [stdout] 6  |     HyperTan,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 7  |     Sigmoidal,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 8  |     Step,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 9  |     Linear,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 10 |     Relu
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ActivationFunction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `bias`, `activation_function`, and `layer_number` are never read
[INFO] [stdout]   --> src/neuron.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Neuron {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 15 |     pub output: f64,
[INFO] [stdout] 16 |     bias: f64,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 17 |     pub weights: Vec<f64>,
[INFO] [stdout] 18 |     activation_function: ActivationFunction,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 |     layer_number: u64
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Neuron` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `initialize`, `get_weights`, `predict`, `adjust`, and `activate` are never used
[INFO] [stdout]   --> src/neuron.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Neuron {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 23 |     pub fn initialize(layer_number: f64, activation_function: ActivationFunction, input_number: u64, use_rand: bool) -> Self{
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn get_weights(self) -> Vec<f64>{
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn predict(&self, inputs: &Vec<f64>) -> f64 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn adjust(&mut self, actual_q_value: f64, predicted_value: f64, reward: f64, inputs: &Vec<f64>, next_state: &Vec<f64>) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     fn activate(&self, weighted_sum: f64) -> f64{
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Agent` is never constructed
[INFO] [stdout]  --> src/agent.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Agent {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BufferItem` is never constructed
[INFO] [stdout]   --> src/agent.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct BufferItem {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `current_index` is never read
[INFO] [stdout]    --> src/dqn.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let mut current_index = 1;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `initialize_agent`, `act`, and `exploit_explore` are never used
[INFO] [stdout]   --> src/agent.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Agent {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 24 |     pub fn initialize_agent(structure: Vec<u64>, amount_of_states: u64, reward_policy: String, copy_amount: u64, range: Range<usize>) -> ...
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn act(&mut self, current_state: Vec<f64>, action: usize, next_state: Vec<f64>, reward: f64){
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn exploit_explore(&mut self, current_state: &Vec<f64>) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `generate_network`, `generate_q_value`, and `backpropagate` are never used
[INFO] [stdout]    --> src/dqn.rs:43:12
[INFO] [stdout]     |
[INFO] [stdout] 42  | impl Network {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout] 43  |     pub fn generate_network(structure: Vec<u64>, input_layer_amount: u64) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75  |     pub fn generate_q_value(&mut self, input_state: &Vec<f64>) -> (Vec<f64>, f64){
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn backpropagate(&mut self, inputs: &Vec<f64>, actual_q_value: f64, reward: f64, next_state: &Vec<f64>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `HyperTan`, `Sigmoidal`, `Step`, and `Linear` are never constructed
[INFO] [stdout]  --> src/neuron.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum ActivationFunction {
[INFO] [stdout]   |          ------------------ variants in this enum
[INFO] [stdout] 6 |     HyperTan,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 7 |     Sigmoidal,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 8 |     Step,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 9 |     Linear,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ActivationFunction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `layer_number` is never read
[INFO] [stdout]   --> src/neuron.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Neuron {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     layer_number: u64
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Neuron` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_weights` is never used
[INFO] [stdout]   --> src/neuron.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Neuron {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn get_weights(self) -> Vec<f64>{
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Agent` is never constructed
[INFO] [stdout]  --> src/agent.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Agent {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BufferItem` is never constructed
[INFO] [stdout]   --> src/agent.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct BufferItem {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `initialize_agent`, `act`, and `exploit_explore` are never used
[INFO] [stdout]   --> src/agent.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Agent {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 24 |     pub fn initialize_agent(structure: Vec<u64>, amount_of_states: u64, reward_policy: String, copy_amount: u64, range: Range<usize>) -> ...
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn act(&mut self, current_state: Vec<f64>, action: usize, next_state: Vec<f64>, reward: f64){
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn exploit_explore(&mut self, current_state: &Vec<f64>) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.85s
[INFO] running `Command { std: "docker" "inspect" "2e29941467cf93aede845b9fb2c5b8b2ad8a607181c227daa0848a97676287bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2e29941467cf93aede845b9fb2c5b8b2ad8a607181c227daa0848a97676287bc", kill_on_drop: false }`
[INFO] [stdout] 2e29941467cf93aede845b9fb2c5b8b2ad8a607181c227daa0848a97676287bc
